aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-05-15 01:54:47 +0000
committerKenneth Russel <[email protected]>2008-05-15 01:54:47 +0000
commitc84a0811ac16ef8c25f257c1bcee4d386e7afcb9 (patch)
treeed5862c291e461fb1e7da47dab5c17ca7400f2b4 /make
parenta640c7c0c77199ef12b880a3de583cede5435691 (diff)
Fixed build breakage on non-Windows platforms due to recent changes to
support building against CDC/FP bootstrap classes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@76 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'make')
-rwxr-xr-xmake/build.xml29
1 files changed, 18 insertions, 11 deletions
diff --git a/make/build.xml b/make/build.xml
index 875d975..f978f8b 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -378,6 +378,23 @@
<antcall target="c.build" inheritRefs="true" />
</target>
+
+ <target name="gluegen.rebuild.gluegen-rt" if="isCDCFP">
+ <!-- Re-build just the gluegen-rt.jar classes using the Java ME
+ boot classes, if they're in use. -->
+ <delete dir="../build/classes/com/sun/gluegen/runtime" />
+ <javac destdir="${classes}"
+ source="1.4"
+ debug="true"
+ debuglevel="source,lines"
+ excludes="${gluegen.excludes}"
+ bootclasspath="${javac.bootclasspath.jar}">
+ <src path="${src.java}" />
+ <src path="${src.generated.java}" />
+ <classpath refid="antlr.classpath" />
+ </javac>
+ </target>
+
<!-- ================================================================== -->
<!--
- Build GlueGen.
@@ -434,17 +451,7 @@
<!-- Re-build just the gluegen-rt.jar classes using the Java ME
boot classes, if they're in use. -->
- <delete dir="../build/classes/com/sun/gluegen/runtime" />
- <javac destdir="${classes}"
- source="1.4"
- debug="true"
- debuglevel="source,lines"
- excludes="${gluegen.excludes}"
- bootclasspath="${javac.bootclasspath.jar}">
- <src path="${src.java}" />
- <src path="${src.generated.java}" />
- <classpath refid="antlr.classpath" />
- </javac>
+ <antcall target="gluegen.rebuild.gluegen-rt" inheritRefs="true" />
<!-- Build the (native code) NativeLibrary support for
gluegen-rt.jar using the just-built GlueGen. -->