diff options
author | Sven Gothel <[email protected]> | 2011-10-18 12:57:08 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-18 12:57:08 +0200 |
commit | 958b64beb44a470301a4354ae7d5133236e2f40f (patch) | |
tree | 066e0a3ceac11e79065b4ae4f36b37d887d96fe0 /make/build-nativewindow.xml | |
parent | 7eaeacc4148f0ec6146e5cc8db010a7414a7b419 (diff) |
Fix Solaris gcc args ; Cleanup dependencies and linker args; Adding JVM arch flags (-d32/-d64) ; glxext.h uses 'gl-64bit-types.h'
Cleanup dependencies and linker args
- JOGL/NEWT: remove Xxf86vm dependency
- NativeWindow Solaris: Use std 'Xinerama' and 'xf86vmode'
Diffstat (limited to 'make/build-nativewindow.xml')
-rw-r--r-- | make/build-nativewindow.xml | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml index 45674c64e..4bbe667b8 100644 --- a/make/build-nativewindow.xml +++ b/make/build-nativewindow.xml @@ -342,6 +342,18 @@ <compilerarg value="/usr/include" /> </compiler> + <compiler id="compiler.cfg.solaris.nativewindow.x11" extends="compiler.cfg.solaris"> + <compilerarg value="-I/usr/X11R6/include" /> + </compiler> + + <compiler id="compiler.cfg.solaris.nativewindow.x11.sparcv9" extends="compiler.cfg.solaris.sparcv9"> + <compilerarg value="-I/usr/X11R6/include" /> + </compiler> + + <compiler id="compiler.cfg.solaris.nativewindow.x11.amd64" extends="compiler.cfg.solaris.amd64"> + <compilerarg value="-I/usr/X11R6/include" /> + </compiler> + <!-- linker configuration --> <linker id="linker.cfg.freebsd.nativewindow.x11" extends="linker.cfg.freebsd"> @@ -387,15 +399,32 @@ </linker> <linker id="linker.cfg.solaris.nativewindow.x11" extends="linker.cfg.solaris"> + <linkerarg value="-L/usr/sfw/lib"/> + <syslibset libs="X11"/> + <syslibset libs="Xxf86vm" /> + <syslibset libs="Xinerama"/> + <syslibset libs="Xrender"/> <syslibset libs="X11"/> </linker> <linker id="linker.cfg.solaris.sparcv9.nativewindow.x11" extends="linker.cfg.solaris.sparcv9"> - <syslibset dir="/usr/lib/sparcv9" libs="X11"/> + <linkerarg value="-L/usr/lib/sparcv9"/> + <linkerarg value="-L/usr/sfw/lib/sparcv9"/> + <syslibset libs="X11"/> + <syslibset libs="Xxf86vm" /> + <syslibset libs="Xinerama"/> + <syslibset libs="Xrender"/> + <syslibset libs="X11"/> </linker> <linker id="linker.cfg.solaris.amd64.nativewindow.x11" extends="linker.cfg.solaris.amd64"> - <syslibset dir="/usr/lib/amd64" libs="X11"/> + <linkerarg value="-L/usr/lib/amd64"/> + <linkerarg value="-L/usr/sfw/lib/amd64"/> + <syslibset libs="X11"/> + <syslibset libs="Xxf86vm" /> + <syslibset libs="Xinerama"/> + <syslibset libs="Xrender"/> + <syslibset libs="X11"/> </linker> <linker id="linker.cfg.win32.mingw.nativewindow" extends="linker.cfg.win32.mingw"> @@ -475,21 +504,21 @@ <target name="c.configure.solaris32" depends="c.configure.x11" if="isSolaris32Bit"> <echo message="Solaris" /> - <property name="compiler.cfg.id" value="compiler.cfg.solaris" /> + <property name="compiler.cfg.id" value="compiler.cfg.solaris.nativewindow.x11" /> <property name="linker.cfg.id.oswin" value="linker.cfg.solaris.nativewindow.x11" /> </target> <target name="c.configure.solaris.sparcv9" depends="c.configure.x11" if="isSolarisSparcv9"> <echo message="SolarisSparcv9" /> - <property name="compiler.cfg.id" value="compiler.cfg.solaris.sparcv9" /> + <property name="compiler.cfg.id" value="compiler.cfg.solaris.nativewindow.x11.sparcv9" /> <property name="linker.cfg.id.oswin" value="linker.cfg.solaris.sparcv9.nativewindow.x11" /> </target> <target name="c.configure.solaris.amd64" depends="c.configure.x11" if="isSolarisAMD64"> <echo message="SolarisAMD64" /> - <property name="compiler.cfg.id" value="compiler.cfg.solaris.amd64" /> + <property name="compiler.cfg.id" value="compiler.cfg.solaris.nativewindow.x11.amd64" /> <property name="linker.cfg.id.oswin" value="linker.cfg.solaris.amd64.nativewindow.x11" /> </target> |