From f2801bf69ba572d9e030e3fbf920342c29704d3a Mon Sep 17 00:00:00 2001 From: sg215889 Date: Wed, 15 Jul 2009 05:47:43 -0700 Subject: Build CDC named JARs for CVM in default build, no more specialized build necessary. --- make/build-jogl.xml | 614 ++++++++++++++++++---------------------- make/build-newt.xml | 143 ++++++---- make/build.xml | 11 +- make/joglRIversion-cdc | 8 + make/joglversion-cdc | 8 + make/make.jogl.all.linux-x86.sh | 2 +- make/newtRIversion-cdc | 8 + make/newtversion-cdc | 8 + make/nwiRIversion | 8 - 9 files changed, 407 insertions(+), 403 deletions(-) create mode 100644 make/joglRIversion-cdc create mode 100644 make/joglversion-cdc create mode 100644 make/newtRIversion-cdc create mode 100644 make/newtversion-cdc delete mode 100644 make/nwiRIversion diff --git a/make/build-jogl.xml b/make/build-jogl.xml index 6d24ae84e..e34960c4d 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -51,25 +51,10 @@ - - Some environment defs affecting compilation - setup.cdcfp - Using the CDC Java runtime library - - no DoubleBuffer - - no LongBuffer - - This will set - -> setup.nogl2 - -> setup.noAWT (depends on gl2) - -> setup.nogl3 - - Internal settings, may not be necessary to set them manually, since all JAR archives are orthogonal. - setup.noes1 - setup.noes2 - setup.nogl2es12 - setup.nogl2 [ -> setup.noAWT (still depends on gl2), setup.nogl3 (contained in the gl2 jar) ] - setup.nogl3 [ -> setup.nogl2 (contained in the gl2 jar) ] setup.noAWT - setup.noX11WindowsMacOsX [ -> setup.noX11, setup.noWindows, setup.noMacOsX ] - is also triggered by [ setup.nogl2 && setup.nogl3 && setup.nogl2es12 ] + setup.noCDC --> @@ -88,81 +73,8 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -170,10 +82,6 @@ value="javax/media/opengl/* javax/media/opengl/fixedfunc/* javax/media/opengl/glu/* javax/media/opengl/glu/gl2es1/* com/sun/opengl/impl/* com/sun/opengl/impl/glu/* com/sun/opengl/impl/glu/error/*"/> - - - @@ -193,7 +101,7 @@ value="com/sun/openmax/**"/> + value="com/sun/opengl/util/glsl/sdk/**"/> @@ -241,13 +149,13 @@ value="com/sun/opengl/util/* com/sun/opengl/util/texture/** com/sun/opengl/util/packrect/**"/> + value="com/sun/opengl/util/**/awt/** com/sun/opengl/util/AWTAnimatorImpl*"/> + value="com/sun/opengl/util/glsl/* com/sun/opengl/util/glsl/fixedfunc/*"/> @@ -257,76 +165,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + value="${java.part.awt} ${java.part.util.awt}"> - - - + + + @@ -397,6 +257,8 @@ + + @@ -404,6 +266,7 @@ + @@ -416,13 +279,15 @@ - + + + @@ -484,6 +349,11 @@ + + + + + @@ -492,7 +362,7 @@ - + @@ -506,7 +376,6 @@ - @@ -517,11 +386,24 @@ - - - + + + + + + + + + + + + + + + + @@ -537,22 +419,22 @@ - + - + - + - + @@ -560,6 +442,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -596,7 +502,6 @@ - @@ -665,7 +570,7 @@ - @@ -674,7 +579,7 @@ @@ -686,7 +591,7 @@ @@ -698,7 +603,7 @@ @@ -710,7 +615,7 @@ @@ -722,7 +627,7 @@ @@ -734,7 +639,7 @@ @@ -746,7 +651,7 @@ @@ -758,7 +663,7 @@ @@ -782,7 +687,7 @@ @@ -794,7 +699,7 @@ @@ -806,7 +711,7 @@ @@ -818,7 +723,7 @@ @@ -831,7 +736,7 @@ @@ -839,12 +744,12 @@ - + @@ -856,7 +761,7 @@ @@ -864,53 +769,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -923,7 +781,7 @@ - from the C GL headers. This involves setting the taskdef and creating - the classpath reference id then running the task on each header. --> - + @@ -1018,7 +876,7 @@ - + @@ -1034,7 +892,7 @@ - + @@ -1050,7 +908,7 @@ - + @@ -1065,7 +923,7 @@ targetfile="${src.generated.java}/javax/media/opengl/DebugGL2ES12.java" /> - + @@ -1080,7 +938,7 @@ targetfile="${src.generated.java}/javax/media/opengl/DebugGL2.java" /> - + @@ -1101,6 +959,10 @@ + + + @@ -1109,14 +971,10 @@ - - - - - - - - + + + @@ -1125,6 +983,10 @@ + + + @@ -1133,23 +995,13 @@ + + + - - - - - - - - - - - - - - - + @@ -1178,8 +1030,12 @@ + + + - + @@ -1200,14 +1056,23 @@ + + + + + + + - + @@ -1217,28 +1082,28 @@ - + - - + - + - + - + @@ -1248,21 +1113,22 @@ - + - - + - + - + @@ -1486,6 +1352,7 @@ + @@ -1616,6 +1483,7 @@ + - + - + - + - + - + + + + + + + + - + @@ -1725,6 +1600,30 @@ + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + includes="${java.part.awt}" /> + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1872,13 +1815,18 @@ - - + + + + + + + + + - + includes="${java.part.util.fixedfunc.shaders}"/> + diff --git a/make/build-newt.xml b/make/build-newt.xml index 6d32b33d5..df234b26e 100644 --- a/make/build-newt.xml +++ b/make/build-newt.xml @@ -44,15 +44,9 @@ - - Some environment defs affecting compilation - setup.cdcfp - Using the CDC Java runtime library - - no DoubleBuffer - - no LongBuffer - - This will set - -> setup.noAWT - - Internal settings, may not be necessary to set them manually, since all JAR archives are orthogonal. + setup.noCDC setup.noAWT setup.noOpenGL --> @@ -73,17 +67,9 @@ --> - - - - - - - - - - + + + @@ -111,12 +97,9 @@ - - - + - + @@ -178,11 +161,11 @@ - + - - + + @@ -195,14 +178,23 @@ + - - - + + + + + + + + + + + @@ -210,7 +202,10 @@ - + + + + @@ -242,42 +237,42 @@ + - - + + - + - - - + + + - - + - + @@ -568,7 +570,28 @@ + + + + + + + + + + + + + + + + + + + @@ -585,23 +608,33 @@ - - - + + + - + + + + + + + + + + - + + includes="com/sun/javafx/newt/**" /> - diff --git a/make/build.xml b/make/build.xml index a3f0530d1..3e7c74c53 100644 --- a/make/build.xml +++ b/make/build.xml @@ -113,16 +113,15 @@ - - - + + - + - + - + diff --git a/make/joglRIversion-cdc b/make/joglRIversion-cdc new file mode 100644 index 000000000..9bbb525ce --- /dev/null +++ b/make/joglRIversion-cdc @@ -0,0 +1,8 @@ +Specification-Title: Java Bindings for OpenGL API Specification CDC +Specification-Version: @BASEVERSION@ +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: Java Bindings for OpenGL Runtime Environment CDC +Implementation-Version: @BASEVERSION@ +Implementation-Vendor: Sun Microsystems, Inc. +Extension-Name: javax.media.opengl +Implementation-Vendor-Id: com.sun diff --git a/make/joglversion-cdc b/make/joglversion-cdc new file mode 100644 index 000000000..5a2950b55 --- /dev/null +++ b/make/joglversion-cdc @@ -0,0 +1,8 @@ +Specification-Title: Java Bindings for OpenGL API Specification CDC +Specification-Version: @BASEVERSION@ +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: Java Bindings for OpenGL Runtime Environment CDC +Implementation-Version: @VERSION@ +Implementation-Vendor: java.net JOGL community +Extension-Name: javax.media.opengl +Implementation-Vendor-Id: com.sun diff --git a/make/make.jogl.all.linux-x86.sh b/make/make.jogl.all.linux-x86.sh index 4eec0b317..a495586b2 100644 --- a/make/make.jogl.all.linux-x86.sh +++ b/make/make.jogl.all.linux-x86.sh @@ -11,7 +11,6 @@ fi # -Dbuild.noarchives=true ant \ - -Dbuild.noarchives=true \ -Djogl.cg=1 -Dx11.cg.lib=../../lib-linux-x86 \ -Drootrel.build=build-x86 \ -Dgluegen.cpptasks.detected.os=true \ @@ -20,4 +19,5 @@ ant \ -DisLinuxX86=true \ -DisX11=true \ -DuseKD=true \ + -DuseOpenMAX=true \ $* 2>&1 | tee make.jogl.all.linux-x86.log diff --git a/make/newtRIversion-cdc b/make/newtRIversion-cdc new file mode 100644 index 000000000..0dd17ee93 --- /dev/null +++ b/make/newtRIversion-cdc @@ -0,0 +1,8 @@ +Specification-Title: NEWT API Specification CDC +Specification-Version: @BASEVERSION@ +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: NEWT Runtime Environment CDC +Implementation-Version: @BASEVERSION@ +Implementation-Vendor: Sun Microsystems, Inc. +Extension-Name: com.sun.javafx.newt +Implementation-Vendor-Id: com.sun diff --git a/make/newtversion-cdc b/make/newtversion-cdc new file mode 100644 index 000000000..624111760 --- /dev/null +++ b/make/newtversion-cdc @@ -0,0 +1,8 @@ +Specification-Title: NEWT API Specification CDC +Specification-Version: @BASEVERSION@ +Specification-Vendor: Sun Microsystems, Inc. +Implementation-Title: NEWT Runtime Environment CDC +Implementation-Version: @VERSION@ +Implementation-Vendor: java.net JOGL community +Extension-Name: com.sun.javafx.newt +Implementation-Vendor-Id: com.sun diff --git a/make/nwiRIversion b/make/nwiRIversion deleted file mode 100644 index 20600ac28..000000000 --- a/make/nwiRIversion +++ /dev/null @@ -1,8 +0,0 @@ -Specification-Title: Native Window Interface API Specification -Specification-Version: @BASEVERSION@ -Specification-Vendor: Sun Microsystems, Inc. -Implementation-Title: Native Window Interface Runtime Environment -Implementation-Version: @BASEVERSION@ -Implementation-Vendor: Sun Microsystems, Inc. -Extension-Name: javax.media.nwi -Implementation-Vendor-Id: com.sun -- cgit v1.2.3