diff options
author | Sven Gothel <[email protected]> | 2009-07-04 00:13:24 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-04 00:13:24 +0000 |
commit | 472e6dde3dbd971b390dce7c8368713dc7618cf8 (patch) | |
tree | d2a1370a20789ed931c9e5c2c8bf9a7d9f7dc0d3 /make | |
parent | 1aed3a660c5557233ba0b685ff668ce5f6a60313 (diff) |
Remove macosx.ppc build per default. Enable it via ant property macosppc=true
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@156 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make')
-rwxr-xr-x | make/gluegen-cpptasks.xml | 16 | ||||
-rwxr-xr-x | make/gluegen.properties | 6 |
2 files changed, 18 insertions, 4 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml index 484cb0a..0e9f6af 100755 --- a/make/gluegen-cpptasks.xml +++ b/make/gluegen-cpptasks.xml @@ -19,6 +19,10 @@ - c.compiler.debug: - set to "true" if debug version of the compiled - C code is desired. + - macosppc: + - set to "true" if ppc universal / fat binaries are desired + - on Mac OS X. Requires support for cross-compilation from the + - underlying C compiler. Note: Unsupported on Snow Leopard! - macosx64: - set to "true" if 64-bit universal / fat binaries are desired - on Mac OS X. Requires support for cross-compilation from the @@ -141,6 +145,9 @@ </and> </condition> <!-- Need a way to be able to disable the macosx64 property specification in a build.xml --> + <condition property="use.macosppc"> + <istrue value="${macosppc}" /> + </condition> <condition property="use.macosx64"> <istrue value="${macosx64}" /> </condition> @@ -546,8 +553,9 @@ </compiler> <compiler id="compiler.cfg.macosx" name="gcc"> - <compilerarg value="-arch" /> - <compilerarg value="ppc" /> + <!-- Note: Apple doesn't seem to provide ppc binaries on Snow Leopard --> + <compilerarg value="-arch" if="use.macosppc"/> + <compilerarg value="ppc" if="use.macosppc"/> <compilerarg value="-arch" /> <compilerarg value="i386" /> <compilerarg value="-arch" if="use.macosx64"/> @@ -622,8 +630,8 @@ </linker> <linker id="linker.cfg.macosx" name="gcc"> - <linkerarg value="-arch" /> - <linkerarg value="ppc" /> + <linkerarg value="-arch" if="use.macosppc"/> + <linkerarg value="ppc" if="use.macosppc"/> <linkerarg value="-arch" /> <linkerarg value="i386" /> <linkerarg value="-arch" if="use.macosx64"/> diff --git a/make/gluegen.properties b/make/gluegen.properties index bc5af68..c8756ea 100755 --- a/make/gluegen.properties +++ b/make/gluegen.properties @@ -28,4 +28,10 @@ antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar # x86_64 code, uncomment the property below # macosx64=true +# If you are building on a Mac OS X system supporting +# cross-compilation and want to generate fat binaries containing +# ppc code, uncomment the property below. +# Note: Unsupported on Snow Leopard! +# macosppc=true + #user.compiler.import="${user.home}/gluegen.compiler.xml" |