From 61d2579d7e6ccb1ac2fbb48d0410390a697bec16 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 15 Jan 2006 03:25:55 +0000 Subject: Moved GlueGen out of the JOGL workspace and into its own project. Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@542 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/build.xml | 258 +++++++++++------------------------------ make/jogl.properties | 13 --- make/lib/cpptasks-patch.tar.gz | Bin 7743 -> 0 bytes make/lib/cpptasks-version.txt | 4 - make/lib/cpptasks.jar | Bin 345356 -> 0 bytes make/validate-properties.xml | 10 +- 6 files changed, 70 insertions(+), 215 deletions(-) delete mode 100644 make/lib/cpptasks-patch.tar.gz delete mode 100755 make/lib/cpptasks-version.txt delete mode 100755 make/lib/cpptasks.jar (limited to 'make') diff --git a/make/build.xml b/make/build.xml index 1bc19ecb1..89c515a56 100644 --- a/make/build.xml +++ b/make/build.xml @@ -55,82 +55,20 @@ --> + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -144,48 +82,10 @@ - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -205,32 +105,32 @@ - - - - + - - - + + + + + + + - - + + - - - - - - - + + + + + + @@ -317,13 +217,20 @@ - - - - - + + + + + + + + + @@ -367,7 +274,7 @@ - + @@ -517,32 +424,29 @@ - - + + + + + + + + + - - - - - - - - - - - @@ -561,21 +465,12 @@ - from the C GL headers. This involves setting the taskdef and creating - the classpath reference id then running the task on each header. --> - - - - - - - - + + classpathref="gluegen.classpath" /> + classpathref="gluegen.classpath" /> @@ -586,7 +481,7 @@ config="${gl.cfg}" includeRefid="stub.includes.fileset.all" emitter="com.sun.gluegen.opengl.GLEmitter"> - + @@ -595,7 +490,7 @@ config="${glext.platform.cfg}" includeRefid="stub.includes.fileset.all" emitter="com.sun.gluegen.opengl.GLEmitter"> - + @@ -604,7 +499,7 @@ config="${window.cfg}" includeRefid="stub.includes.fileset.platform" emitter="com.sun.gluegen.opengl.GLEmitter"> - + @@ -619,7 +514,7 @@ literalInclude="${java.includes.dir}" includeRefid="stub.includes.fileset.platform" emitter="com.sun.gluegen.JavaEmitter"> - + @@ -627,7 +522,7 @@ - + @@ -636,7 +531,7 @@ config="${glu.cfg}" includeRefid="stub.includes.fileset.all" emitter="com.sun.gluegen.opengl.GLEmitter"> - + - - - - - - - + classpathref="gluegen.classpath" /> + classpathref="gluegen.classpath" /> - + @@ -715,21 +601,19 @@ - + - + - - @@ -753,12 +636,7 @@ - Compile the native C code for JOGL (and optionally the Cg binding). --> - - - - - @@ -929,7 +807,7 @@ - + @@ -1240,16 +1118,12 @@ - Clean up all that is built. --> - - - - diff --git a/make/jogl.properties b/make/jogl.properties index 104d40092..8b9c6f884 100644 --- a/make/jogl.properties +++ b/make/jogl.properties @@ -11,19 +11,6 @@ # # java.home.dir=C:/jdk1.4.2 -# -# The required antlr.jar property that is the full path to the antlr.jar -# including the name of the jar -# -# Windows -# antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar -# Linux -# antlr.jar=/home/kbr/antlr-2.7.2/antlr.jar -# Mac OS X -# antlr.jar=/Users/kbr/antlr-2.7.2/antlr.jar -# Solaris -# antlr.jar=/export/kbr/ANTLR/antlr-2.7.2/antlr.jar - # If you are building on Windows and have the Microsoft Visual C++ # compilers installed, you can choose an alternate compiler with which # to build the JOGL native code. Valid strings here are "vc6", "vc7", diff --git a/make/lib/cpptasks-patch.tar.gz b/make/lib/cpptasks-patch.tar.gz deleted file mode 100644 index 22f1cdeaa..000000000 Binary files a/make/lib/cpptasks-patch.tar.gz and /dev/null differ diff --git a/make/lib/cpptasks-version.txt b/make/lib/cpptasks-version.txt deleted file mode 100755 index 2e7dd7244..000000000 --- a/make/lib/cpptasks-version.txt +++ /dev/null @@ -1,4 +0,0 @@ -Current cpptasks is from CVS repository at -:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ant-contrib -as of 10/5/2005 with patches applied for Forte C compiler (Bug -1314266) and fat binary generation on Mac OS X (Bug 1313421). diff --git a/make/lib/cpptasks.jar b/make/lib/cpptasks.jar deleted file mode 100755 index 005691c09..000000000 Binary files a/make/lib/cpptasks.jar and /dev/null differ diff --git a/make/validate-properties.xml b/make/validate-properties.xml index 0b5a66bf6..4a2d386c9 100644 --- a/make/validate-properties.xml +++ b/make/validate-properties.xml @@ -48,11 +48,9 @@ - builds to fail since if this Java process has the jar file open - we can not overwrite it. --> - - - - - + + + ****************************************************************** ** Your CLASSPATH environment variable appears to be set (some ** @@ -60,7 +58,7 @@ ** cause the build to fail. Please unset your CLASSPATH ** ** variable and restart the build. ** ****************************************************************** - + -- cgit v1.2.3