diff options
author | Michael Bien <[email protected]> | 2010-07-18 02:36:25 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-07-18 02:36:25 +0200 |
commit | 6c14437ff4ffdefbce3d61aacc3d1389fec47a69 (patch) | |
tree | 32e6b586cb6fdebc058432a0e45dddb3cdccd17c /make/build-jogl.xml | |
parent | 5be946fac88210f60dd2e2c212d39b62e6c2e0b4 (diff) | |
parent | ceec1ed6f1d6ebe904326a7517259d920098d9a0 (diff) |
Merge branch 'freebsd-fixes' of http://github.com/rothwell/jogl
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r-- | make/build-jogl.xml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml index 74b9da089..cc86e0a34 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -1105,11 +1105,21 @@ <compiler id="compiler.cfg.freebsd.jogl" extends="compiler.cfg.freebsd"> <!-- Need to force X11R6 headers on to include path after stub_includes --> <includepath path="stub_includes/opengl"/> - <includepath path="/usr/X11R6/include" /> + <includepath path="/usr/local/include" /> </compiler> <!-- linker configuration --> + <linker id="linker.cfg.freebsd.jogl.x11" extends="linker.cfg.freebsd"> + <syslibset dir="/usr/local/lib" libs="X11"/> + <syslibset dir="/usr/local/lib" libs="Xxf86vm" /> + </linker> + + <linker id="linker.cfg.freebsd.amd64.jogl.x11" extends="linker.cfg.freebsd.amd64"> + <syslibset dir="/usr/local/lib" libs="X11"/> + <syslibset dir="/usr/local/lib" 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" /> |