diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/Manifest-rt | 4 | ||||
-rwxr-xr-x | make/Manifest-rt-cdc | 4 | ||||
-rwxr-xr-x | make/build.xml | 35 |
3 files changed, 23 insertions, 20 deletions
diff --git a/make/Manifest-rt b/make/Manifest-rt index da817d3..7570c4a 100755 --- a/make/Manifest-rt +++ b/make/Manifest-rt @@ -1,3 +1,7 @@ Manifest-Version: 1.0 Implementation-Title: GlueGen Run-Time Implementation-Version: @BASEVERSION@ +Implementation-Vendor: JogAmp community +Extension-Name: com.jogamp.common +Implementation-Vendor-Id: com.jogamp +Trusted-Library: true diff --git a/make/Manifest-rt-cdc b/make/Manifest-rt-cdc index 72095c0..50c2021 100755 --- a/make/Manifest-rt-cdc +++ b/make/Manifest-rt-cdc @@ -1,3 +1,7 @@ Manifest-Version: 1.0 Implementation-Title: GlueGen Run-Time CDC Implementation-Version: @BASEVERSION@ +Implementation-Vendor: JogAmp community +Extension-Name: com.jogamp.common +Implementation-Vendor-Id: com.jogamp +Trusted-Library: true diff --git a/make/build.xml b/make/build.xml index 4581d74..270a636 100755 --- a/make/build.xml +++ b/make/build.xml @@ -387,23 +387,8 @@ </antcall> <antcall target="c.manifest" inheritRefs="true" /> - <!-- Create Java Web Start jar file from built file --> - <jar destfile="${build}/gluegen-rt-natives-${os.and.arch}.jar"> - <fileset dir="${build}/obj"> - <include name="*gluegen-rt.${native.library.suffix}" /> - </fileset> - </jar> - <jar destfile="${build}/gluegen-rt-natives-${os.and.arch}-cdc.jar"> - <fileset dir="${build}/obj"> - <include name="*gluegen-rt.${native.library.suffix-cdc}" /> - </fileset> - </jar> </target> - <target name="build.nativelibrary" depends="init" unless="build.javaonly" > - <antcall target="c.build" inheritRefs="true" /> - </target> - <target name="gluegen.build.gluegen-rt-cdc" > <!-- Build just the gluegen-rt-cdc.jar classes using the Java CDC boot classes --> @@ -500,7 +485,7 @@ </uptodate> </target> - <target name="gluegen.build" depends="gluegen.build.check" unless="gluegen.build.skip"> + <target name="gluegen.build" depends="gluegen.cpptasks.detect.os,gluegen.build.check" unless="gluegen.build.skip"> <antcall target="pre-build" inheritRefs="true"/> <!-- Because ANTLR looks for importVocab files in the current @@ -604,6 +589,10 @@ </filterset> </copy> + <!-- Build the (native code) NativeLibrary support for + gluegen-rt[-cdc].jar using the just-built GlueGen. --> + <antcall target="c.build" inheritRefs="true" /> + <!-- Build gluegen-rt.jar. --> <jar destfile="${build}/gluegen-rt.jar" manifest="${build}/Manifest-rt.temp"> <fileset dir="${classes}"> @@ -612,10 +601,11 @@ <include name="com/jogamp/common/**" /> </fileset> </jar> - - <!-- Build the (native code) NativeLibrary support for - gluegen-rt[-cdc].jar using the just-built GlueGen. --> - <antcall target="build.nativelibrary" inheritRefs="true" /> + <jar destfile="${build}/gluegen-rt-natives-${os.and.arch}.jar" manifest="${build}/Manifest-rt.temp"> + <fileset dir="${build}/obj"> + <include name="*gluegen-rt.${native.library.suffix}" /> + </fileset> + </jar> <!-- Build just the gluegen-rt-cdc.jar classes using the Java CDC boot classes. --> @@ -634,6 +624,11 @@ <include name="com/jogamp/common/*.class" /> </fileset> </jar> + <jar destfile="${build}/gluegen-rt-natives-${os.and.arch}-cdc.jar" manifest="${build}/Manifest-rt-cdc.temp"> + <fileset dir="${build}/obj"> + <include name="*gluegen-rt.${native.library.suffix-cdc}" /> + </fileset> + </jar> <!-- Copy antlr.jar into build directory for convenience so gluegen.jar can be run via "java -jar". antlr.jar is |