diff options
author | Sven Gothel <[email protected]> | 2008-11-22 14:12:03 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-11-22 14:12:03 +0000 |
commit | 1e497c3663afb8b2ef0beb6a350855c07288fa4b (patch) | |
tree | fb9df03ecca2c0c36daf06d3fff0bbfec5b4deb6 | |
parent | 2b0a17abd7621483e746ac3cbcf452ec2938ca85 (diff) |
Adding more OS defines
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@116 a78bb65f-1512-4460-ba86-f6dc96a7bf27
-rwxr-xr-x | make/gluegen-cpptasks.xml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml index 6d9393c..42df504 100755 --- a/make/gluegen-cpptasks.xml +++ b/make/gluegen-cpptasks.xml @@ -436,19 +436,26 @@ <target name="gluegen.cpptasks.configure.compiler" depends="setup.java.home.dir" unless="gluegen.compiler.present"> <!-- compiler configuration --> - <compiler id="compiler.cfg.linux" name="gcc"/> + <compiler id="compiler.cfg.linux" name="gcc"> + </compiler> <compiler id="compiler.cfg.linux.amd64" name="gcc"> <compilerarg value="-fPIC"/> </compiler> <compiler id="compiler.cfg.solaris" name="suncc"> + <defineset> + <define name="SOLARIS" /> + </defineset> </compiler> <compiler id="compiler.cfg.solaris.sparcv9" name="suncc"> <compilerarg value="-fast" /> <compilerarg value="-xchip=ultra" /> <compilerarg value="-xarch=v9a" /> + <defineset> + <define name="SOLARIS" /> + </defineset> </compiler> <compiler id="compiler.cfg.solaris.amd64" name="suncc"> @@ -456,6 +463,9 @@ <compilerarg value="-xchip=opteron" /> <compilerarg value="-xarch=amd64" /> <!-- <compilerarg value="-xcache=64/64/2:1024/64/16" /> --> + <defineset> + <define name="SOLARIS" /> + </defineset> </compiler> <compiler id="compiler.cfg.win32.mingw" name="gcc"> @@ -468,6 +478,7 @@ <define name="_WINGDI_" /> <define name="_STRICT_ANSI" /> <define name="_JNI_IMPLEMENTATION_" /> + <define name="MINGW" /> </defineset> </compiler> @@ -510,6 +521,10 @@ </compiler> <compiler id="compiler.cfg.freebsd" name="gcc"> + <defineset> + <define name="FREEBSD" /> + <define name="BSD" /> + </defineset> </compiler> <compiler id="compiler.cfg.hpux" name="aCC"> |