From e26c0e6cca27dc6f6209c68b5a39331998bf77f0 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 4 Aug 2004 18:21:26 +0000 Subject: Incorporated changes by Alex Radeski from the JSR-231 expert group to use the Ant CPPTask instead of manual exec'ing of the C compiler from within the build.xml. Substantially simplifies the build.xml; further simplifications (i.e., unused variables) are probably possible. Ported the CPPTask support to Mac OS X and validated it and fixed minor bugs on the supported platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@145 232f8b59-042b-4e1e-8c03-345bb8c30851 --- doc/HowToBuild.html | 2 +- make/build.xml | 597 +++++++++++++++++---------------------- make/lib/cpptasks-cvs-040628.jar | Bin 0 -> 306355 bytes 3 files changed, 260 insertions(+), 339 deletions(-) create mode 100755 make/lib/cpptasks-cvs-040628.jar diff --git a/doc/HowToBuild.html b/doc/HowToBuild.html index e9a5403ee..730307c4d 100644 --- a/doc/HowToBuild.html +++ b/doc/HowToBuild.html @@ -12,7 +12,7 @@ Here are the steps that are required in order to build the Jogl OpenGL binding from a fresh copy of the source distribution:
    -
  1. Install Ant:
    Download and unpack Ant 1.5.3 from http://ant.apache.org and add the bin/ subdirectory to your PATH environment variable. (Later versions of Ant should work; 1.6.1 has been tested successfully.) +
  2. Install Ant:
    Download and unpack Ant 1.6.1 or later from http://ant.apache.org and add the bin/ subdirectory to your PATH environment variable. (Later versions of Ant should work; 1.6.2 has been tested successfully.)
  3. Install ANTLR:
    Download and unpack ANTLR 2.7.2 from http://www.antlr.org. (Later versions of ANTLR should work; ANTLR 2.7.3 has been tested successfully.)
  4. Unset your CLASSPATH environment variable:
    The Ant build requires that the Jogl jars not be visible on the classpath. On Unix, type unsetenv CLASSPATH into a csh or tcsh shell, or set CLASSPATH=; export CLASSPATH into a Bourne shell. On Windows, type set CLASSPATH= into a command prompt. diff --git a/make/build.xml b/make/build.xml index 80adba7f0..e1d6645ad 100644 --- a/make/build.xml +++ b/make/build.xml @@ -53,12 +53,14 @@ - + + + - + - + @@ -66,21 +68,23 @@ - + + - + + @@ -89,19 +93,20 @@ - - + + + - - + + - + - + @@ -118,7 +123,7 @@ and need exact string matching, which is why they use file.separator instead of "/". --> - + @@ -239,200 +244,107 @@ --> - - - - - - + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - + + + - - - + + - - - - - - - - + + + - - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - + + + + + + - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - + - - - - - + + - - - - - + - - - - - - + + - - - + - - - - - + @@ -934,7 +855,7 @@ - on the platform specific build targets. To circumvent any - errors, ensure that the source is built first. --> - + - + - - - + + + - + @@ -1079,7 +1000,7 @@ Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, w - + @@ -1090,7 +1011,7 @@ Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, w - + @@ -1101,7 +1022,7 @@ Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, w - + @@ -1112,7 +1033,7 @@ Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, w - + @@ -1123,7 +1044,7 @@ Use a platform specific target: linux, macosx, solaris, win32.vc6, win32.vc7, w - + diff --git a/make/lib/cpptasks-cvs-040628.jar b/make/lib/cpptasks-cvs-040628.jar new file mode 100755 index 000000000..f827a4f0f Binary files /dev/null and b/make/lib/cpptasks-cvs-040628.jar differ -- cgit v1.2.3