summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/build-jogl.xml24
-rw-r--r--make/build-nativewindow.xml31
-rw-r--r--make/build-newt.xml28
-rw-r--r--make/make.jogl.all.linux-x86.sh2
4 files changed, 23 insertions, 62 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index fda65c5b2..6a065a8e4 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -51,8 +51,8 @@
-
- Some environment defs affecting compilation
- - setup.noAWT is set iff:
- !isWindows && !isOSX && !noX11
+ - setup.nodesktop is set iff:
+ !isWindows && !isOSX && !isX11
- Internal settings, may not be necessary to set them manually,
since all JAR archives are orthogonal.
@@ -77,7 +77,7 @@
-->
<target name="base.init" depends="gluegen.cpptasks.detect.os">
- <condition property="setup.noAWT">
+ <condition property="setup.nodesktop">
<and>
<isfalse value="${isWindows}" />
<isfalse value="${isOSX}" />
@@ -86,25 +86,11 @@
</condition>
<condition property="setup.noall">
- <or>
- <isset property="noX11"/>
- <isset property="setup.noAWT"/>
- </or>
- </condition>
- <condition property="setup.noall-cdc">
- <or>
- <isset property="noX11"/>
- </or>
- </condition>
- <condition property="setup.nodesktop">
- <or>
- <isset property="noX11"/>
- </or>
+ <isset property="setup.noAWT"/>
</condition>
<echo message="setup.nodesktop: ${setup.nodesktop}" />
<echo message="setup.noall: ${setup.noall}" />
- <echo message="setup.noall-cdc: ${setup.noall-cdc}" />
<echo message="setup.noAWT: ${setup.noAWT}" />
<echo message="setup.noCDC: ${setup.noCDC}" />
@@ -1769,7 +1755,7 @@
includes="${java.part.util.fixedfunc.shaders}"/>
</jar>
</target>
- <target name="build-jars-all-cdc" depends="setup-manifestfile" unless="setup.noall-cdc">
+ <target name="build-jars-all-cdc" depends="setup-manifestfile">
<jar manifest="${build}/tempversion-cdc" destfile="${jogl.all.cdc.jar}">
<fileset dir="${classes-cdc}"
includes="${java.part.core} ${java.part.egl} ${java.part.glutess} ${java.part.glumipmap} ${java.part.openmax} ${java.part.sdk} ${java.part.glx} ${java.part.cgl} ${java.part.gl2es12} ${java.part.wgl} ${java.part.es1} ${java.part.es1.dbg} ${java.part.es2} ${java.part.es2.dbg} ${java.part.util} ${java.part.util.glsl} ${java.part.util.fixedfuncemu}"
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 641e2a4f5..7dae934e4 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -44,8 +44,8 @@
-
- Some environment defs affecting compilation
- - setup.noAWT is set iff:
- !isWindows && !isOSX && !noX11
+ - setup.nodesktop is set iff:
+ !isWindows && !isOSX && !isX11
- Internal settings, may not be necessary to set them manually,
since all JAR archives are orthogonal.
@@ -68,7 +68,7 @@
-->
<target name="base.init" depends="gluegen.cpptasks.detect.os">
- <condition property="setup.noAWT">
+ <condition property="setup.nodesktop">
<and>
<isfalse value="${isWindows}" />
<isfalse value="${isOSX}" />
@@ -77,21 +77,13 @@
</condition>
<condition property="setup.noall">
- <or>
- <isset property="noX11"/>
- <isset property="setup.noAWT"/>
- </or>
- </condition>
- <condition property="setup.noall-cdc">
- <or>
- <isset property="noX11"/>
- </or>
+ <isset property="setup.noAWT"/>
</condition>
<property name="javac.bootclasspath-cdc.jar" value="../../gluegen/make/lib/cdc_fp.jar" />
+ <echo message="setup.nodesktop: ${setup.nodesktop}" />
<echo message="setup.noall: ${setup.noall}" />
- <echo message="setup.noall-cdc: ${setup.noall-cdc}" />
<echo message="setup.noAWT: ${setup.noAWT}" />
<echo message="javac.bootclasspath-cdc.jar: ${javac.bootclasspath-cdc.jar}" />
@@ -108,17 +100,12 @@
<!-- condition excludes -->
- <condition property="java.excludes.x11"
- value="${java.part.x11}">
- <isset property="noX11"/>
- </condition>
-
<condition property="java.excludes.awt"
value="${java.part.awt}">
<isset property="setup.noAWT"/>
</condition>
- <property name="java.excludes.all" value="${java.excludes.awt} ${java.excludes.x11}" />
+ <property name="java.excludes.all" value="${java.excludes.awt}" />
<echo message="java.excludes.all: ${java.excludes.all}" />
@@ -842,13 +829,13 @@
</jar>
</target>
- <target name="build-jars-x11" depends="setup-manifestfile" unless="noX11">
+ <target name="build-jars-x11" depends="setup-manifestfile">
<jar manifest="tempversion" destfile="${nativewindow.x11.jar}">
<fileset dir="${classes}"
includes="${java.part.x11}" />
</jar>
</target>
- <target name="build-jars-x11-cdc" depends="setup-manifestfile-cdc" unless="noX11">
+ <target name="build-jars-x11-cdc" depends="setup-manifestfile-cdc">
<jar manifest="tempversion-cdc" destfile="${nativewindow.x11.cdc.jar}">
<fileset dir="${classes-cdc}"
includes="${java.part.x11}" />
@@ -865,7 +852,7 @@
</fileset>
</jar>
</target>
- <target name="build-jars-all-cdc" depends="setup-manifestfile-cdc" unless="setup.noall-cdc">
+ <target name="build-jars-all-cdc" depends="setup-manifestfile-cdc">
<jar manifest="tempversion-cdc" destfile="${nativewindow.all.cdc.jar}">
<fileset dir="${classes-cdc}">
<include name="javax/media/nativewindow/**" />
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 1ed039a57..be9547684 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -50,8 +50,8 @@
setup.noAWT
setup.noOpenGL
- - setup.noAWT is set iff:
- !isWindows && !isOSX && !noX11
+ - setup.nodesktop is set iff:
+ !isWindows && !isOSX && !isX11
-->
<project name="NEWT" basedir="." default="all">
@@ -73,28 +73,16 @@
<property name="javac.bootclasspath-cdc.jar" value="../../gluegen/make/lib/cdc_fp.jar"/>
- <condition property="setup.noAWT">
+ <condition property="setup.nodesktop">
<and>
<isfalse value="${isWindows}" />
<isfalse value="${isOSX}" />
<isfalse value="${isX11}" />
</and>
</condition>
+
<condition property="setup.noall">
- <or>
- <isset property="noX11"/>
- <isset property="setup.noAWT"/>
- </or>
- </condition>
- <condition property="setup.noall-cdc">
- <or>
- <isset property="noX11"/>
- </or>
- </condition>
- <condition property="setup.nodesktop">
- <or>
- <isset property="noX11"/>
- </or>
+ <isset property="setup.noAWT"/>
</condition>
<condition property="setup.nonatives">
@@ -110,7 +98,6 @@
<echo message="setup.nonatives: ${setup.nonatives}" />
<echo message="setup.nodesktop: ${setup.nodesktop}" />
<echo message="setup.noall: ${setup.noall}" />
- <echo message="setup.noall-cdc: ${setup.noall-cdc}" />
<echo message="setup.noCDC: ${setup.noCDC}" />
<echo message="setup.noAWT: ${setup.noAWT}" />
<echo message="setup.noOpenGL: ${setup.noOpenGL}" />
@@ -764,10 +751,11 @@
</jar>
</target>
- <target name="build-jars-all-cdc" depends="setup-manifestfile-cdc" unless="setup.noall-cdc">
+ <target name="build-jars-all-cdc" depends="setup-manifestfile-cdc">
<jar manifest="tempversion-cdc" destfile="${newt.all.cdc.jar}">
<fileset dir="${classes-cdc}"
- includes="${java.part.core} ${java.part.opengl} ${java.part.broadcomegl}"/>
+ includes="com/sun/javafx/newt/**"
+ excludes="${java.excludes.cdcfp}" />
</jar>
</target>
diff --git a/make/make.jogl.all.linux-x86.sh b/make/make.jogl.all.linux-x86.sh
index 8842cbc0c..0f764b360 100644
--- a/make/make.jogl.all.linux-x86.sh
+++ b/make/make.jogl.all.linux-x86.sh
@@ -13,13 +13,13 @@ fi
# -DisUnix=true \
# -DisLinux=true \
# -DisLinuxX86=true \
+# -DisX11=true \
ant \
-Dbuild.noarchives=true \
-Djogl.cg=1 -Dx11.cg.lib=../../lib-linux-x86 \
-Drootrel.build=build-x86 \
-Dos.arch=x86 \
- -DisX11=true \
-DuseKD=true \
-DuseOpenMAX=true \
$* 2>&1 | tee make.jogl.all.linux-x86.log